/**
 * @filename:QuotationService 2021-11-09 01:40:37
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lwl.blue.commont.base.JsonResult;
import com.lwl.blue.commont.base.PageParam;
import com.lwl.blue.entity.Quotation;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>自定义service写在这里</p>
 *
 * <p>说明： 报价单服务层</P>
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 *
 */
public interface QuotationService extends IService<Quotation> {
    JsonResult<Page<Quotation>> pages(PageParam<Quotation> pageParam);

    void deleteQuotation(Integer id);

    JsonResult addContractByQuotation(Integer id);

    void createQuotation(HttpServletResponse response, Integer id);

    List<Quotation> getExportList(Quotation quotation);

    JsonResult copyQuotation(Integer id);

    void exportByCustomer(HttpServletResponse response, Integer quotationId);
    void export(HttpServletResponse response, Integer quotationId,Integer exportId);
    void saveUpdateData(Quotation quotation);
}